#include <iostream>
#include <ctime>
using namespace std;

const int N = 1e5+10;
int n,a[N];
void fast_sort()
{
    
}
int main()
{
    srand(time(0));
    // int r = rand();
    // cout << "r =  " << r << endl;
    // int r1 = rand();
    // cout << "r1 =  " << r1 << endl;

    cin >> n;
    for(int i = 0;i < n;i++) cin >> a[i];

    fast_sort();

    for(int i = 0;i < n;i++) cout << a[i] << " ";

    return 0;
}